package history.tencent1.problem1;

/**
 *
 */
public class SolutionTest {

    public static void main(String[] args) {
        Solution s = new Solution();
        TreeNode root = new TreeNode(1);
        root.left = new TreeNode(2);
        root.right = new TreeNode(3);
        root.left.left = new TreeNode(4);
        root.left.right = new TreeNode(5);
        root.right.left = new TreeNode(6);
        root.right.right = new TreeNode(7);
        int[] b = new int[]{1, 2, 3, 4, 5, 6, 7};
        s.solve(root, b);
    }
}
